package com.dragon.repository.mapper;

import com.dragon.repository.entity.Expenses;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sy
 * @since 2023-11-24
 */
@Mapper
public interface ExpensesMapper extends BaseMapper<Expenses> {

    @Select("select name from dragon_expenses where id = #{id} ")
    String selectNameById(Integer id);
}
